package com.yun.blog.service;

import com.yun.blog.bean.LoginBean;
import com.yun.blog.bean.RegisterBean;

import javax.servlet.http.HttpSession;
import java.util.HashMap;

/**
 * @author : simple
 * @title : LoginService
 * @projectName : dantouBlog-back
 * @description : TODO
 * @email : yun_simple@163.com
 * @date : 2023/5/21下午8:35
 */

public interface LoginService {
    HashMap<String, Object> login(LoginBean loginBean, HttpSession session);

    boolean register(RegisterBean registerBean, HttpSession session);
}
